<?php
/* 
*	开启分组,二级域名 
*	路由
*/
$url = array(	
	
	'APP_DEBUG' => false,
	
	'TOKEN_ON'	=> false,
	
	'URL_PATHINFO_DEPR'     => '/',	// PATHINFO模式下，各参数之间的分割符号
	
	//开启分组,二级域名
	'APP_GROUP_LIST' => 'Home',
	'DEFAULT_GROUP'  => 'Home',
	'APP_SUB_DOMAIN_DEPLOY' => true,
	'APP_SUB_DOMAIN_RULES' => array(
		'home'=>array('Home/')
	),

	//伪静态
	'URL_HTML_SUFFIX'=>'.html',
		
	//路由
	'URL_ROUTER_ON'   => true, //开启路由
	'URL_ROUTE_RULES' => array( //定义路由规则
		'news' => 'home/index/news',
		'appkfa' => 'home/index/appkfa',
		'about' => 'home/index/about'
	),
	
	//默认错误模板
	'SHOW_ERROR_MSG' => false,
	'TMPL_EXCEPTION_FILE' => "./Public/404/404.html",
		
	//Html静态缓存
	'HTML_CACHE_ON'=>false,
	'HTML_CACHE_TIME'=>1,
	'HTML_CACHE_RULES'=> array(
		'ajax:'			 =>	 array('Ajax/{:action}',0),
	),
	
);
$setting = array_merge($setting,$url);//自定义配置